package button;
import java.awt.Image;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;


public class StartButton extends ActionButton{
	private static final File imgFile=new File("D:\\GitHome\\draw\\src\\main\\java\\src\\main\\resources\\gzbank.jpg");
	public static final String NAME="StartButton";
	public StartButton(){
		this.setName(NAME);
		this.setLabel(" Start ");
		this.setBounds(10, 150, 150, 50);
	}
	@Override
	public Image getImage() {
		try {
			return ImageIO.read(imgFile);
		} catch (IOException e) {
			e.printStackTrace();
		}
		return null;
	}
}
